<!doctype html>



  


<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.0" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="osgi,EAI,ESB,SOA,EIP,大数据,物联网,IOT," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.0" />






<meta name="description" content="&amp;nbsp;&amp;nbsp;身处信息工业革命的大潮中，作为潮头的一颗小水滴，大多数时间是茫然随潮而动，冲击，淹没，洗刷，奔向下一个障碍……极速向前的列车，身在动，心却沉静，于是开始了思考。">
<meta property="og:type" content="article">
<meta property="og:title" content="系统架构思考">
<meta property="og:url" content="http://chrisrc.me/2015/09/27/essays-think-in-system-arch/index.html">
<meta property="og:site_name" content="山中，山外与俯瞰">
<meta property="og:description" content="&amp;nbsp;&amp;nbsp;身处信息工业革命的大潮中，作为潮头的一颗小水滴，大多数时间是茫然随潮而动，冲击，淹没，洗刷，奔向下一个障碍……极速向前的列车，身在动，心却沉静，于是开始了思考。">
<meta property="og:updated_time" content="2016-12-17T07:29:29.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="系统架构思考">
<meta name="twitter:description" content="&amp;nbsp;&amp;nbsp;身处信息工业革命的大潮中，作为潮头的一颗小水滴，大多数时间是茫然随潮而动，冲击，淹没，洗刷，奔向下一个障碍……极速向前的列车，身在动，心却沉静，于是开始了思考。">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://chrisrc.me/2015/09/27/essays-think-in-system-arch/"/>





  <title> 系统架构思考 | 山中，山外与俯瞰 </title>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  










  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta ">
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">山中，山外与俯瞰</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">一次永不停止的探索之旅</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-dcos">
          <a href="/dcos" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-book"></i> <br />
            
            DC/OS
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="st-search-show-outputs">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <form class="site-search-form">
  <input type="text" id="st-search-input" class="st-search-input st-default-search-input" />
</form>

<script type="text/javascript">
  (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
    (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
    e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
  })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');

  _st('install', 'R9GcmhBwxpsAGLNCsquZ','2.0.0');
</script>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
  <link itemprop="mainEntityOfPage" href="http://chrisrc.me/2015/09/27/essays-think-in-system-arch/">

  <span style="display:none" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="name" content="chrisrc">
    <meta itemprop="description" content="">
    <meta itemprop="image" content="/images/avatar.gif">
  </span>

  <span style="display:none" itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="山中，山外与俯瞰">
    <span style="display:none" itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
      <img style="display:none;" itemprop="url image" alt="山中，山外与俯瞰" src="">
    </span>
  </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                系统架构思考
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2015-09-27T21:56:24+08:00">
                2015-09-27
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
              <span class="post-meta-divider">|</span>
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/技术/" itemprop="url" rel="index">
                    <span itemprop="name">技术</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <a href="/2015/09/27/essays-think-in-system-arch/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2015/09/27/essays-think-in-system-arch/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          

          
          

          

          

        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>&nbsp;&nbsp;身处信息工业革命的大潮中，作为潮头的一颗小水滴，大多数时间是茫然随潮而动，冲击，淹没，洗刷，奔向下一个障碍……<br>极速向前的列车，身在动，心却沉静，于是开始了思考。</p>
<a id="more"></a>
<p>&nbsp;&nbsp;思考就有感触。几个月前踏上新的工作岗位，也是在这极速的列车上，身动而心静，回头看走过的路，<br>原来已是从山中走到了山外进而飞上高空俯瞰，没有对未知的恐惧，只有闪转腾挪的游刃有余。</p>
<p>&nbsp;&nbsp;现在，驻歩思考，十多年的技术演进，海量信息汹涌而来，我想从中抓住什么，理清某些变化的脉络。</p>
<p>&nbsp;&nbsp;回到系统架构，之所以想谈这个话题，一个是感慨OSGi的“怀才不遇”，一个是对大数据系统架构的思考。</p>
<p>&nbsp;&nbsp;OSGi是一个伟大的构想，它为设备连接而提出，后来站在类和接口之上，开始专注于JVM内的模块化与服务，只是它的推广<br>未能在J2EE急速发展时快速跟进，重心一直偏重于J2SE，所以一直不温不火。在其意识到这一点，开始推进J2EE方面的应用时，移动互联网<br>推动的大数据，并行规模计算对技术的要求，又使其面临更大的挑战。物联网经过多年技术的革新，随着智能家居和可穿戴设备的逐步应用，<br>已经进入快速发展期，OSGi也将关注的重心重新转回物联网。</p>
<p>&nbsp;&nbsp;现在的大数据系统架构与十年前的不同，思想却是一脉相承的，不同的只是面对的问题和架构的层面，这也印证了从量变引发质变的普适性辩证规律。</p>
<p>&nbsp;&nbsp;从机器指令到汇编再到Fortran和C等高级语言，是二进制指令应用到了一定量的积累引发的变革。C++，Java等众多现代语言，仅仅是高级语言应对需求发展的一次跃迁，现在仍然是高级语言量的积累的时代。</p>
<p>&nbsp;&nbsp;十五年前，我们开始关注的是最细粒度的架构设计原则，即面向对象，类和接口，设计模式。公司和个人，机构和组织不断深挖面向对象的高级语言能为系统设计带来什么，有什么更好的设计原则和最佳实践。</p>
<p>&nbsp;&nbsp;挖完了，技术成熟了，网络带宽提升了，人们开始关注高一级的层面。于是，十年前我们关注的重点转向企业应用集成，而不再是类和设计模式，人们开始思考系统内的模块与服务，系统间交互的设计原则。</p>
<p>&nbsp;&nbsp;在这期间，EAI，ESB，SOA理论与技术逐步推进，设计实践EIP也成了大型系统集成的最佳架构原则。</p>
<p>&nbsp;&nbsp;同时，跨系统的通信也将分布式技术由概念理论推向实践验证，基础技术不断成熟。</p>
<p>&nbsp;&nbsp;然后，五年前，伟大的乔布斯抓住了3G，4G甚至5G的快速发展趋势，通过iPhone引爆了移动互联网，也将诺基亚，IBM等老牌巨头拍在了沙滩上。</p>
<p>&nbsp;&nbsp;得益于分布式通信技术理论的成熟，分布式技术的开源（这里要提一下雅虎对分布式技术的开源贡献），人们关注的重心不再是理论与实践都已成熟的单一系统和系统间集成，进而转向规模集群，云计算，大数据处理，机器学习。技术与研究，理论与应用，借助于对传统行业的颠覆，百家争鸣，百花齐放。</p>
<p>&nbsp;&nbsp;纵观这一路而上的系统架构，二进制指令，过程编程，类与接口，模块与服务，资源隔离与规模集群。一层一层，一层的成熟为上一层的发展打下坚实的基础。一层的量变也引发上一层的质变。</p>
<p>&nbsp;&nbsp;这一路走来，低一层的设计原则和最佳实践，经过放大，调整，实践和修正，成为上一层的架构。唯一不变的，是每一层上架构设计的思想。</p>
<p>&nbsp;&nbsp;十年前，我们站在类和接口之上，在一个JVM（或进程）内思考组件标准化（EAI），通过组件编排随需应变地处理业务逻辑；五年前，我们站在模块与服务的角度，通过组件化服务（SOA）解决大型分布式系统的自治与运营；今天，我们仍以组件化思想和消息处理，在透明的规模集群上完成大数据计算。</p>
<p>&nbsp;&nbsp;列车还在行驶，我也在大数据架构之路上前行，当我站在终点时，将会是下一段旅程的开始。</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>


    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/osgi/" rel="tag"># osgi</a>
          
            <a href="/tags/EAI/" rel="tag"># EAI</a>
          
            <a href="/tags/ESB/" rel="tag"># ESB</a>
          
            <a href="/tags/SOA/" rel="tag"># SOA</a>
          
            <a href="/tags/EIP/" rel="tag"># EIP</a>
          
            <a href="/tags/大数据/" rel="tag"># 大数据</a>
          
            <a href="/tags/物联网/" rel="tag"># 物联网</a>
          
            <a href="/tags/IOT/" rel="tag"># IOT</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2015/09/24/autoit-continuous-deploy/" rel="next" title="IT自动化(12)——Jenkins+Ansible实现持续部署">
                <i class="fa fa-chevron-left"></i> IT自动化(12)——Jenkins+Ansible实现持续部署
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2015/10/04/essays-living-in-the-age-of-software-fuckery/" rel="prev" title="生活进入'软件笨蛋'时代">
                生活进入'软件笨蛋'时代 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
        <div class="ds-share flat" data-thread-key="2015/09/27/essays-think-in-system-arch/"
     data-title="系统架构思考"
     data-content=""
     data-url="http://chrisrc.me/2015/09/27/essays-think-in-system-arch/">
  <div class="ds-share-inline">
    <ul  class="ds-share-icons-16">

      <li data-toggle="ds-share-icons-more"><a class="ds-more" href="javascript:void(0);">分享到：</a></li>
      <li><a class="ds-weibo" href="javascript:void(0);" data-service="weibo">微博</a></li>
      <li><a class="ds-qzone" href="javascript:void(0);" data-service="qzone">QQ空间</a></li>
      <li><a class="ds-qqt" href="javascript:void(0);" data-service="qqt">腾讯微博</a></li>
      <li><a class="ds-wechat" href="javascript:void(0);" data-service="wechat">微信</a></li>

    </ul>
    <div class="ds-share-icons-more">
    </div>
  </div>
</div>
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2015/09/27/essays-think-in-system-arch/"
           data-title="系统架构思考" data-url="http://chrisrc.me/2015/09/27/essays-think-in-system-arch/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      

      <section class="site-overview sidebar-panel sidebar-panel-active">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/avatar.gif"
               alt="chrisrc" />
          <p class="site-author-name" itemprop="name">chrisrc</p>
          <p class="site-description motion-element" itemprop="description"></p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">69</span>
              <span class="site-state-item-name">日志</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">21</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">162</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/christtrc" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://twitter.com/chrisrc" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
          
        </div>

        
        
          <div class="cc-license motion-element" itemprop="license">
            <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" class="cc-opacity" target="_blank">
              <img src="/images/cc-by-nc-sa.svg" alt="Creative Commons" />
            </a>
          </div>
        

        
        

        


      </section>

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy;  2015 - 
  <span itemprop="copyrightYear">2017</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">
     
      <a href="mailto:chrisrc@qq.com">chrisrc</a> 
    
  </span>
  <span class="author"> &nbsp; QQ: 58122705 </span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Mist
  </a>
</div>


        

        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"chrisrc"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    
    <script src="/lib/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  








  
  

  

  

  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
<script>
(function(){
   var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?ed903ab05fbc5fa64d95e4bfbf3d3a04":"https://jspassport.ssl.qhimg.com/11.0.1.js?ed903ab05fbc5fa64d95e4bfbf3d3a04";
   document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>

  


</body>
</html>
